package com.mrzhou.common.constant;

/**
 * 消息中间件常量类
 */
public interface MQConstant {

    /** 死信队列的参数key */
    String KEY_DEAD_EXCHANGE = "x-dead-letter-exchange";
    String KEY_DEAD_ROUTINGKEY = "x-dead-letter-routing-key";

    String EMAIL_MSG_QUEUE = "email:msg";
    String EMAIL_MSG_EXCHANGE = "email:msg:exchange";
    String EMAIL_MSG_ROUTINGKEY = "email:msg";

    /**  消息发送的死信队列 */
    String MSG_DEAD_QUEUE = "msg:dead";
    /** 消息发送的死信交换机 */
    String MSG_DEAD_EXCHANGE = "msg.dead.exchange";
    /** 发送消息的死信路由键 */
    String MSG_DEAD_ROUTINGKEY = "msg.dead";

}
